package com.broadengate.model;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Customer entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Customer implements java.io.Serializable {

	// Fields

	private Integer id;
	private String identityId;
	private String name;
	private String gender;
	private Date birthday;
	private String nativeplace;
	private String address;
	private String email;
	private String tel;
	private String mobile;
	private Set cards = new HashSet(0);

	// Constructors

	/** default constructor */
	public Customer() {
	}

	/** minimal constructor */
	public Customer(String identityId, String name, String gender,
			Date birthday, String nativeplace, String address, String email,
			String tel, String mobile) {
		this.identityId = identityId;
		this.name = name;
		this.gender = gender;
		this.birthday = birthday;
		this.nativeplace = nativeplace;
		this.address = address;
		this.email = email;
		this.tel = tel;
		this.mobile = mobile;
	}

	/** full constructor */
	public Customer(String identityId, String name, String gender,
			Date birthday, String nativeplace, String address, String email,
			String tel, String mobile, Set cards) {
		this.identityId = identityId;
		this.name = name;
		this.gender = gender;
		this.birthday = birthday;
		this.nativeplace = nativeplace;
		this.address = address;
		this.email = email;
		this.tel = tel;
		this.mobile = mobile;
		this.cards = cards;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getIdentityId() {
		return this.identityId;
	}

	public void setIdentityId(String identityId) {
		this.identityId = identityId;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getGender() {
		return this.gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public Date getBirthday() {
		return this.birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public String getNativeplace() {
		return this.nativeplace;
	}

	public void setNativeplace(String nativeplace) {
		this.nativeplace = nativeplace;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getTel() {
		return this.tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public String getMobile() {
		return this.mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public Set getCards() {
		return this.cards;
	}

	public void setCards(Set cards) {
		this.cards = cards;
	}

}